







<div class="x-body">
    <div class="layui-row">
        <form class="layui-form layui-col-md12 x-so search-form">
            <input class="layui-input"  autocomplete="off" placeholder="开始日" name="date1"  value="{:input('date1')}" id="start">
            <input class="layui-input"  autocomplete="off" placeholder="截止日" name="date2"  value="{:input('date2')}" id="end">
            <input type="text" name="search_data"  placeholder="用户名|店铺名|UID" autocomplete="off" value="{:input('search_data')}"  class="layui-input">
            <div class="layui-input-inline">
                <select name="wallet_id">
                    <option value="" >全部币种</option>

                    {volist name='wallet' id='vo'}
                    <option value="{$vo['id']}" {notempty name="param['wallet_id']"}{if condition="$param['wallet_id'] eq $vo['id']"} selected="selected" {/if}{/notempty} >{$vo['name']}</option>
                    {/volist}
                </select>
            </div>
            <button class="layui-btn"  id="search"  url="{:url('shop_list')}"  lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>

        </form>
    </div>
    <xblock>
        <!--<button class="layui-btn layui-btn-danger" onclick="delAll()"><i class="layui-icon"></i>批量删除</button>-->
        <!--<ob_link><a  href="{:url('shopAdd')}" style="color: white">   <button class="layui-btn" >新 增</button></a></ob_link>-->
        <span class="x-right" style="line-height:40px;margin-right:10px;">共有数据：{$list.count} 条</span>
    </xblock>
    <table class="layui-table x-admin">
        <thead>
        <tr>
            <th>
                序号
            </th>
            <th>店铺信息</th>
            <th>店铺订单总统计</th>
            <th>排名信息</th>
            <th>其它</th>
        </thead>
        {notempty name='list.list'}
        <tbody>
        {volist name='list.list' id='vo' key="k"}
        <tr>
            <td>
                {$k}
            </td>
            <td>
                <div><label>UID:</label><span>{$vo.user_id}</span></div>
                <div>  <label>用户名:</label><span>{$vo.username}</span>{if condition ="$vo.is_company eq 1"}<span style="color: #f56c6c">(公司账户)</span>{/if}</div>
                <div>  <label>手机号:</label><span>{$vo.mobile}</span></div>
                <div>  <label>店铺名称:</label><span>{$vo.shop_name}</span></div>
                <div>  <label>店铺信用分:</label><span> 100</span></div>
                <div>  <label>收款方式:</label><span> {$vo.pay_array}</span></div>

            </td>
            <td>
                <div>  <label>币种:</label><span>{$vo.wallet.name}</span></div>
                <div>  <label>店铺余额:</label><span>{$vo.number_do}</span></div>
                <div>  <label>总完成单量:</label><span>{$vo.success_count}</span></div>
                <div>  <label>历史转入金额:</label><span>{$vo.recharge_money}</span></div>
                <div>  <label>总回款金额:</label><span> {$vo.turnover}  </span></div>
                <div>  <label>排队中金额:</label><span>  {$vo.sell_money}</span></div>
                <div>  <label>店铺手续费盈利总金额:</label>{$vo.poundage_number}</div>

            </td>
            <td>
                <div><label>店铺排名次:</label><span>{$vo.user_name}</span></div>
                <div>  <label>订单平均代收完成率:</label><span>{$vo.release_success_probability}%</span></div>
                <div>  <label>订单平均代发完成率:</label><span>{$vo.receive_success_probability}%</span></div>
                <div>  <label>店铺订单处理平均耗时:</label><span>{$vo.average_processing}分钟</span></div>
                <div>  <label>被投诉申诉次数:</label><span> {$vo.complaint_count}</span></div>

            </td>
            <td>
                <div><label>本次排名刷新金额:</label><span>100</span></div>
                <div>  <label>上次排名时间:</label><span>{$vo.create_time}</span></div>
                <div>  <label>本次排名刷新时间:</label><span>{$vo.create_time}</span></div>


            </td>
        </tr>
        {/volist}
        {else/}
        <tbody><tr class="odd"><td colspan="12" class="text-center" valign="top">{:config('empty_list_describe')}</td></tr></tbody>
        {/notempty}

        </tbody>
    </table>
    <div class="page">
        {notempty name='list.list'}   {$list.list->render()}{/notempty}
    </div>

</div>
<script>
    layui.use('laydate', function(){
        var laydate = layui.laydate;
        layer=layui.layer;
        //执行一个laydate实例
        laydate.render({
            elem: '#start' //指定元素
        });

        //执行一个laydate实例
        laydate.render({
            elem: '#end' //指定元素
        });
    });








    //导出功能
    $(".export").click(function(){

        window.location.href = searchFormUrl($(".export"));
    });
</script>

</body>

</html>




